//==============================================================================
// Hoplite_Anim.txt
//==============================================================================


//==============================================================================

define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================

define Spear
{
   set hotspot
   {
      version
      {
         Visual Pilum
      }
   }
}

//==============================================================================
define shield
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual Roman Cavalry Shield
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Engineer Shield
			}
		}
	}
}

//==============================================================================
define Head
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Roman HeadA
		ReplaceTexture Infantry G Hoplite Head Iron/Legionaire Head
         }
      }
   }
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Phalanx_IdleA
					connect RightHand Spear hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Militia/Auxilliary Armor
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_idleA
				}
			}
		}
	}
}

//==============================================================================

anim Build
{      
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Archer N Throwing Axeman_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.60 false Build checkVisible 
//-- end auto generated section
				connect Righthand Hammer Hotspot
				connect LeftForearm shield Hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry G Militia/Auxilliary Armor
         }
      }
   }      
}


//==============================================================================
anim run
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry G Militia/Auxilliary Armor
         }
      }
   }
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					connect RightHand Spear hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Militia/Auxilliary Armor
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_WalkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					connect RightHand Spear hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Militia/Auxilliary Armor
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.61 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Phalanx_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry G Militia/Auxilliary Armor
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Phalanx_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry G Militia/Auxilliary Armor
         }
      }
   }
}
